projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f7d662
)
Allow using 'vc-prepare-patch' in non-VC buffers
author
Philip Kaludercic
<philipk@posteo.net>
Mon, 12 Feb 2024 16:37:16 +0000
(17:37 +0100)
committer
Philip Kaludercic
<philipk@posteo.net>
Mon, 12 Feb 2024 16:37:52 +0000
(17:37 +0100)
* lisp/vc/vc.el (vc-prepare-patch): Remove
'vc-ensure-vc-buffer', as it is not necessary to verify this for
the command to work.
lisp/vc/vc.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc.el
b/lisp/vc/vc.el
index f612daaa569c4c2a5ff1a06ac53e2b3c84573d4e..ca6efeabac25d02447f826fd995220c23f621520 100644
(file)
--- a/
lisp/vc/vc.el
+++ b/
lisp/vc/vc.el
@@
-3639,7
+3639,6
@@
marked revisions, use those."
(read-string "Subject: " "[PATCH] " nil nil t))
revs)))
(save-current-buffer
- (vc-ensure-vc-buffer)
(let ((patches (mapcar (lambda (rev)
(vc-call-backend
(vc-responsible-backend default-directory)